import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../../../services/http-client.service';

@Injectable()
export class ViewDetailService {

  constructor(public httpClient: HttpClientService) { }


  //条目信息列表
  entryInfoList(getBody) {
    return this.httpClient.get('/pms/v1/riskmanage/batchDetail', getBody);
  }

  //流程信息列表
  flowInfoList(getBody) {
    return this.httpClient.get('/pms/v1/riskmanage/detail', getBody);
  }
  //在途模式-保存
  save(putBody) {
    return this.httpClient.put('/pms/v1/riskmanage/save', putBody);
  }
  //加锁
  lock(getBody){
    return this.httpClient.get('/pms/v1/riskmanage/addLock',getBody)
  }
}


